<template>
  <div class="app-container">
    <div>
      <router-view></router-view>
    </div>
  </div>
</template>

<script setup lang="ts">

</script>

<style scoped lang="scss">
/**
 * 应用容器样式
//  */
// .app-container {
//   padding: 20px;
//   max-width: 800px;
//   margin: 0 auto;

//   .scss-test {
//     color: $color-primary;
//   }
// }

/**
 * 图标区域样式
 */
.icon-section {
  margin: 30px 0;
  padding: 20px;
  border: 1px solid #e4e7ed;
  border-radius: 8px;
  background-color: #fafafa;
}

.icon-section h2 {
  margin-top: 0;
  color: #303133;
  font-size: 18px;
}

/**
 * SVG 示例样式
 */
.svg-examples {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.example-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background-color: white;
}

.example-item span {
  font-size: 14px;
  color: #606266;
}
</style>



<!-- scss测试 -->
<!-- <div class="scss-test">
      <h1>scss 测试</h1>
    </div> -->

<!-- Element Plus 图标示例 -->
<!-- <div class="icon-section">
      <h2>Element Plus 图标</h2>
      <el-button type="primary" :icon="EditIcon">Primary Button</el-button>
      <EditIcon style="width: 1em; height: 1em; margin-right: 8px" />
    </div> -->

<!-- SVG 图标示例 -->
<!-- <div class="icon-section">
      <h2>自定义 SVG 图标</h2>
      <div class="svg-examples">
        <div class="example-item">
          <SvgIcon name="home" size="24px" color="#409eff" />
          <span>首页图标</span>
        </div>
      </div>
    </div> -->

<!-- api测试  -->
<!-- <div class="api-test">
      <h2>API 测试</h2>
      <el-button type="primary" @click="testLogin">测试登录</el-button>
    </div> -->
